<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script src="php/ajax.js"></script>
  <script>
    async function hd() {
      let name = await new Promise(resolve => {
        setTimeout(() => {
          resolve("后盾人");
        }, 2000);
      });
       console.log(name);
      let site = await new Promise(resolve => {
        setTimeout(() => {
          resolve(name + "houdunren.com");
        }, 2000);
      });
      console.log(site);
      // return new Promise(resolve => {
      //   setTimeout(() => {
      //     resolve("houdunren.com");
      //   }, 2000);
      // });
    }
    hd();
  
  </script>
</html>
